package com.ifengchao.dao.iface;

import com.ifengchao.commonUtil.DaoException;
import com.ifengchao.pojo.PlatformInfo;

import java.util.List;

/**
 * 订单处理
 *
 * @author chen
 */
public interface DealPlatformDao {

    /**
     * 查询所有平台
     *
     * @return
     */
    public List<PlatformInfo> queryAllPlatform() throws DaoException;

    /**
     * 添加平台
     *
     * @return
     */
    public void insertPlatformInfo(PlatformInfo entity) throws DaoException;

    /**
     * 更新平台信息
     *
     * @return
     */
    public int updatePlatformInfo(PlatformInfo entity) throws DaoException;
}
